#pragma once
#include "stdafx.h"

//After executing this function, edgeHash will have the information of edges.
void searchEdgePoints( );

bool searchConnectivity(IplImage* binaryImage, 
	int rootx, int rooty, int* model,
	bool* tipHash_temp);

void searchTipPoints();

void mergeCloseTips(IplImage* binaryImage, int rootx, int rooty,
					bool* tipHash_temp);

void saveImageTips(IplImage* binaryImage);
void saveImageTipsRaw(IplImage* rawImage, IplImage* binaryImage);